<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>同咨科技-商户后台</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="../../static/css/weadmin.css">
    <link href="../../lib/layui/css/layui.css" rel="stylesheet">

    <script type="text/javascript" src="../../lib/layui/layui.js" charset="utf-8"></script>
    <script type="module" src="../components/use-body.js"></script>



    <link href="../../static/css/task.css" rel="stylesheet">
    <link href="../../static/css/uselay.css" rel="stylesheet">
</head>

<body>
    <use-body>
        <div class="page-body">

            <span class="layui-breadcrumb breadcrumb" lay-separator="/">
                <a><i title="首页" class="iconfont use-more"></i></a>
                <a>任务大厅</a>
                <a><cite>任务详情</cite></a>
            </span>

            <div class="page-border task-detail">
                <div class="title-box">
                    <div class="text">任务标题，这个是个标题示意</div>
                    <div class="info">
                        <div class="user">
                            <img src="../../static/images/task/Oval.png" alt="" srcset="">
                            <div>
                                <p>任务发起人</p>
                                <span>王大拿</span>
                            </div>
                        </div>
                        <div>
                            <img src="../../static/images/task/Frame 162416.png" alt="" srcset="">
                            <div>
                                <p>任务状态</p>
                                <span class="state blue"><i></i>进行中</span>
                            </div>
                        </div>
                        <div>
                            <img src="../../static/images/task/Frame 162416(1).png" alt="" srcset="">
                            <div>
                                <p>优先等级</p>
                                <span class="state red">高级</span>
                            </div>
                        </div>
                        <div style="align-items: center; font-size: 16px;">
                            <div>
                                <p>距离任务结束还有<span style="margin: 0 24px;font-size: 24px;">115</span>天</p>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="comp">
                    <div>
                        <textarea class="layui-textarea" style="height: 225px;"
                            placeholder="任务描述内容内容内容内容，任务描述内容内容内容内容任务描述内容内容内容内容"></textarea>
                    </div>
                    <div style="width: 278px;">
                        <div class="cell">
                            <img src="../../static/images/task/Frame 162416(7).png" alt="">
                            <div>
                                <p>任务所属版块</p>
                                <span>四川同咨工程咨询有限公司</span>
                            </div>
                        </div>
                        <div class="cell">
                            <img src="../../static/images/task/Frame 162416(8).png" alt="">
                            <div>
                                <p>任务成员</p>
                                <div class="tag-task">
                                    <span>张小刚<img src="../../static/images/task/Frame(3).png" alt=""></span>
                                    <span>张小刚<img src="../../static/images/task/Frame(3).png" alt=""></span>
                                    <span>张小刚<img src="../../static/images/task/Frame(3).png" alt=""></span>
                                    <div class="plus">
                                        <img src="../../static/images/task/Frame(2).png" alt="">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div style="width: 240px;">
                        <div class="cell">
                            <img src="../../static/images/task/Frame 162416(2).png" alt="">
                            <div>
                                <p>评分周期</p>
                                <span>每周评分</span>
                            </div>
                        </div>
                        <div class="cell">
                            <img src="../../static/images/task/Frame 162416(5).png" alt="">
                            <div>
                                <p>评分时间</p>
                                <span>星期一</span>
                            </div>
                        </div>
                        <div class="cell">
                            <img src="../../static/images/task/Frame 162416(6).png" alt="">
                            <div>
                                <p>我的平均得分</p>
                                <span><strong style="font-size: 18px;">3.8 </strong><small>分</small></span>
                            </div>
                        </div>
                    </div>
                    <div style="width: 260px;">
                        <div class="cell">
                            <img src="../../static/images/task/Frame 162416(2).png" alt="">
                            <div>
                                <p>开始时间</p>
                                <span>2020-12-01</span>
                            </div>
                        </div>
                        <div class="cell">
                            <img src="../../static/images/task/Frame 162416(2).png" alt="">
                            <div>
                                <p>截止时间</p>
                                <span>2021-03-21</span>
                            </div>
                        </div>
                        <div class="layui-btn-center">
                            <button type="button" class="layui-btn layui-btn-radius layui-btn-fluid">
                                <img style="margin-right: 20px;" src="../../static/images/task/Frame(1).png" alt="">
                                <span>绩效评分</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>

            <div class="botton-block task-detail">
                <div class="page-border">
                    <div class="card">
                        <div class="title">
                            <div class="text">督办节点 15条</div>
                            <div class="tag-task">
                                <i>晓琪</i>
                                <span>李晓琪</span>
                            </div>
                        </div>
                        <ul>
                            <li>
                                <div class="sub-title">
                                    任务描述内容内容内容内容，任务描述内容内容内容内容任务描述内容内容内容内容
                                </div>
                                <div class="supplement">
                                    <div class="annex"></div>
                                    <div class="time">2019-08-23 22:31</div>
                                </div>
                            </li>
                            <li>
                                <div class="sub-title">
                                    <span class="layui-font-blue">王大拿</span> 电话反馈预计在周二可以完成任务。
                                </div>
                                <div class="supplement">
                                    <div class="annex">
                                        <img src="../../static/images/task/Filter 2(1).png" alt="" srcset="">
                                        <span>附件</span>
                                        <img src="../../static/images/task/Rectangle 1863.png" alt="" srcset="">
                                    </div>
                                    <div class="time">2019-08-23 22:31</div>
                                </div>
                            </li>
                            <li>
                                <div class="layui-btn-center">
                                    <button type="button" style="height: 34px; line-height: 34px;"
                                        class="layui-btn layui-btn-primary layui-btn-radius layui-btn-fluid">
                                        <img style="margin-right: 20px;" src="../../static/images/task/Frame(4).png"
                                            alt="">
                                        <span>添加督办记录</span>
                                    </button>
                                </div>
                            </li>
                        </ul>
                    </div>
                    <div class="card">
                        <div class="title">
                            <div class="text">督办节点 15条</div>
                            <div class="tag-task">
                                <i>晓琪</i>
                                <span>李晓琪</span>
                            </div>
                        </div>
                        <ul>
                            <li>
                                <div class="sub-title">
                                    任务描述内容内容内容内容，任务描述内容内容内容内容任务描述内容内容内容内容
                                </div>
                                <div class="supplement">
                                    <div class="annex"></div>
                                    <div class="time">2019-08-23 22:31</div>
                                </div>
                            </li>
                            <li>
                                <div class="add-member">
                                    <div class="btn " lay-on="test-page-wrap"><img
                                            src="../../static/images/task/Frame(6).png" alt="">选择成员</div>
                                    <textarea class="layui-textarea" placeholder="输入该成员督办任务执行情况的描述"></textarea>
                                </div>

                                <div class="upload">
                                    <div>
                                        <button type="button" style="padding: 0 5px;"
                                            class="layui-btn layui-btn-primary layui-btn-radius">
                                            <img style="margin-right: 10px;"
                                                src="../../static/images/task/Filter 2(1).png" alt="">
                                            <span>上传附件</span>
                                        </button>
                                    </div>
                                    <div>
                                        <button type="button" class="layui-btn btn-text">
                                            取消
                                        </button>
                                        <button type="button" class="layui-btn layui-btn-radius">
                                            <span>确认</span>
                                        </button>
                                    </div>
                                </div>
                                <div class="describe">支持格式：.jpg .jpeg .png<br>
                                    单个文件不能超过500KB</div>
                            </li>
                        </ul>
                    </div>
                    <div class="card">
                        <div class="title">
                            <div class="text">督办节点 15条</div>
                            <div class="btn"  lay-on="test-page-wrap"><img src="../../static/images/task/Frame(6).png" alt="">选择成员</div>
                        </div>
                        <ul>
                            <li>
                                <div class="add-member">
                                    <textarea class="layui-textarea" style="height: 110px !important;"
                                        placeholder="输入该成员督办任务执行情况的描述"></textarea>
                                </div>
                                <div class="upload">
                                    <div>
                                        <button type="button" style="padding: 0 5px;"
                                            class="layui-btn layui-btn-primary layui-btn-radius">
                                            <img style="margin-right: 10px;"
                                                src="../../static/images/task/Filter 2(1).png" alt="">
                                            <span>上传附件</span>
                                        </button>
                                    </div>
                                    <div>
                                        <button type="button" class="layui-btn btn-text">
                                            取消
                                        </button>
                                        <button type="button" class="layui-btn layui-btn-radius">
                                            <span>确认</span>
                                        </button>
                                    </div>
                                </div>
                                <div class="describe">支持格式：.jpg .jpeg .png<br>
                                    单个文件不能超过500KB</div>
                            </li>
                        </ul>
                    </div>
                    <div class="card add">
                        <img src="../../static/images/task/Frame(4).png" alt="">
                        <span>添加督办节点</span>
                    </div>
                </div>
                <div class="page-border">
                    <div class="layui-tab layui-tab-brief">
                        <ul class="layui-tab-title">
                            <li class="layui-this">动态</li>
                            <li>笔记</li>
                            <li>子任务</li>
                            <li>附件</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item layui-show">
                                <div class="trends-list">
                                    <ul>
                                        <li>
                                            <div class="title">
                                                <span class="layui-font-blue">老王</span> 王大拿 新建了任务
                                            </div>
                                            <div class="supplement">
                                                <!-- 占位 -->
                                                <span></span>
                                                <div class="time">
                                                    2019-08-23 22:31
                                                </div>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="title">
                                                <span class="layui-font-blue">老王</span> 王大拿 新建了任务
                                            </div>
                                            <div class="supplement">
                                                <!-- 占位 -->
                                                <span></span>
                                                <div class="time">
                                                    2019-08-23 22:31
                                                </div>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="title">
                                                <span class="layui-font-blue">老王</span> 王大拿 新建了任务
                                            </div>
                                            <div class="supplement">
                                                <!-- 占位 -->
                                                <span></span>
                                                <div class="time">
                                                    2019-08-23 22:31
                                                </div>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="title">
                                                <span class="layui-font-blue">老王</span> 王大拿 新建了任务
                                            </div>
                                            <div class="supplement">
                                                <!-- 占位 -->
                                                <span></span>
                                                <div class="time">
                                                    2019-08-23 22:31
                                                </div>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="title">
                                                <span class="layui-font-blue">老王</span> 王大拿 新建了任务
                                            </div>
                                            <div class="supplement">
                                                <!-- 占位 -->
                                                <span></span>
                                                <div class="time">
                                                    2019-08-23 22:31
                                                </div>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="title">
                                                <span class="layui-font-blue">老王</span> 王大拿 新建了任务
                                            </div>
                                            <div class="supplement">
                                                <!-- 占位 -->
                                                <span></span>
                                                <div class="time">
                                                    2019-08-23 22:31
                                                </div>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <div class="note-list">
                                    <ul>
                                        <li>
                                            <div class="user">
                                                <img src="../../static/images/task/Oval.png" alt="">
                                                <div class="title">
                                                    <span>老王</span>
                                                    <p>王大拿 新建了任务</p>
                                                </div>
                                            </div>
                                            
                                            <div class="supplement">
                                                <!-- 占位 -->
                                                <span></span>
                                                <div class="time">
                                                    2019-08-23 22:31
                                                </div>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <div class="subtask-list">
                                    <ul>
                                        <li>
                                            <table class="layui-table" lay-skin="nob">
                                                <colgroup>
                                                    <col width="180">
                                                    <col width="140">
                                                    <col width="100">
                                                    <col>
                                                  </colgroup>
                                                <tbody>
                                                    <tr>
                                                        <td>
                                                            我是任务名称任务名
                                                        </td>
                                                        <td>2020-08-19</td>
                                                        <td>进行中</td>
                                                        <td>
                                                            <img src="../../static/images/a.png" alt="">
                                                            <span>路人甲</span>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </li>
                                        <li>
                                            <table class="layui-table" lay-skin="nob">
                                                <colgroup>
                                                    <col width="180">
                                                    <col width="140">
                                                    <col width="100">
                                                    <col>
                                                  </colgroup>
                                                <tbody>
                                                    <tr>
                                                        <td>
                                                            我是任务名称任务名我是任务名称任务名
                                                        </td>
                                                        <td>2020-08-19</td>
                                                        <td>进行中</td>
                                                        <td>
                                                            <img src="../../static/images/a.png" alt="">
                                                            <span>路人甲</span>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </li>
                                    </ul>
                                    <div class="btn">
                                        <button type="button" class="layui-btn layui-btn-fluid layui-btn-radius">
                                            <i class="layui-icon layui-icon-add-1" style="margin-right: 20px;"></i>
                                            新建子任务
                                        </button>
                                      </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <div class="annex-list">
                                    <ul>
                                        <li>
                                            <table class="layui-table" lay-skin="nob">
                                                <colgroup>
                                                    <col>
                                                    <col width="160">
                                                    <col width="120">
                                                    <col width="50">
                                                    <col width="50">
                                                  </colgroup>
                                                <tbody>
                                                    <tr>
                                                        <td>
                                                            <img src="../../static/images/files.png" alt="">
                                                            <span>资料名称.docx</span>
                                                        </td>
                                                        <td>2020-08-19 15:43:23</td>
                                                        <td>
                                                            <img src="../../static/images/a.png" alt="">
                                                            <span>路人甲</span>
                                                        </td>
                                                        <td>
                                                            <img src="../../static/images/co.png" alt="">
                                                        </td>
                                                        <td>
                                                            <img src="../../static/images/de.png" alt="">
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </li>
                                    </ul>

                                    <div class="btn">
                                        <button type="button" class="layui-btn layui-btn-fluid layui-btn-radius">
                                            <i class="iconfont use-annex" style="margin-right: 20px;"></i>
                                            上传附件
                                        </button>
                                      </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div id="ID-test-layer-wrapper" style="display: none;">
            <div class="member-dialog">
                <div class="pd">
                    <div class="layui-input-wrap">
                        <div class="layui-input-prefix">
                            <i class="iconfont  use-search"></i>
                        </div>
                        <input  type="text" name="A" value=""
                            placeholder="Search..." class="layui-input" lay-affix="clear">
                    </div>
                </div>

                    <div class="tab-header layui-btn-container" id="tabHeader">
                        <div class="layui-this">成员</div>
                        <div>企业小组</div>
                      </div>
                      <div class="tab-body" id="tabBody">
                        <div class="layui-show">
                            <div class="option">
                                <div class="active">
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" checked name="AAA" title="默认">
                                    </div>
                                </div>
                                <div class="disabled">
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>

                            </div>
                        </div>
                        <div>
                            <div class="option item2">
                                <div class="active">
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" checked name="AAA" title="默认">
                                    </div>
                                </div>
                                <div class="disabled">
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                <div>
                                    <div class="icon">张</div>
                                    <div class="name">张小刚</div>
                                    <div class="check">
                                        <input type="checkbox" name="AAA" title="默认">
                                    </div>
                                </div>
                                
                            </div>
                            <div class="btn">
                                <button type="button" class="layui-btn layui-btn-radius">
                                    <span>确定</span>
                                </button>
                            </div>
                        </div>
                      </div>
                
                
            </div>
        </div>
    </use-body>
</body>
<script>
    layui.use('table', function () {
        var $ = layui.$;
        var table = layui.table;
        var laypage = layui.laypage;
        var util = layui.util;
        var element = layui.element;

        // 绑定自定义的 tab 元素
        element.tab({
            headerElem: '#tabHeader>div',
            bodyElem: '#tabBody>div'
        });
        // 事件
        util.on('lay-on', {
            'test-page-wrap': function () {
                layer.open({
                    type: 1,
                    closeBtn:0,
                    shade: false, // 不显示遮罩
                    title: false,
                    content: $('#ID-test-layer-wrapper'), // 捕获的元素
                    end: function () {
                        // layer.msg('关闭后的回调', {icon:6});
                    }
                });
            }
        })
        
    });
</script>

</html>